import React from 'react';
// import { Icon } from '@/components/icon'
import Fab from '@mui/material/Fab';
import { Icon } from '@amcax/base';
interface IProps {
  onClick: () => void;
  children: React.ReactNode;
}
export default (props: IProps) => {
  return (
    // <StyledButton onClick={props.onClick} shape="circle" icon={<Icon name='ai/chatbot' />} />
    <Fab
      onClick={props.onClick}
      sx={{ fontSize: 25 }}
    >
      <Icon
        name='ai/chatbot'
        size={25}
      />
    </Fab>
  );
};
